JchOptimize\Core\Html\LinkBuilder B

Total Complexity 79
Dependencies 25
Dependents 4
Total lines 423
Lines of code 246
Logical lines of code 153
Comment lines 137
Methods 28
Properties 8

Methods 28

Method Rating Maintainability Complexity Lines of code
replaceLinks()
A
46 10 35
buildUrl()
A
47 10 32
createStaticFiles()
S
55 7 18
postProcessHtml()
S
59 6 13
addCssLazyLoadAssetsToHtml()
S
57 4 19
isGZ()
S
75 4 3
getPreloadLink()
S
67 4 6
getNewJsLink()
S
70 3 5
addDeferredJs()
S
63 3 10
addPreConnects()
S
68 3 7
loadCssAsync()
S
60 2 13
__construct()
S
61 2 12
appendAsyncScriptsToHead()
S
71 2 6
cleanScript()
S
69 2 6
addExcludedJsToSection()
S
65 2 8
getFormattedHtmlAttribute()
S
77 2 3
appendChildToHead()
S
65 2 8
prependChildToHead()
S
73 1 4
addOptimizeGFontsToHead()
S
74 1 4
setImgAttributes()
S
74 1 4
isXhtml()
S
78 1 3
appendOptimizedFontsToHead()
S
81 1 3
appendCriticalJsToHtml()
S
71 1 5
addJsLazyLoadAssetsToHtml()
S
71 1 5
appendChildToHTML()
S
71 1 4
preProcessHtml()
S
82 1 3
getNewCssLink()
S
80 1 3
addCriticalCssToHead()
S
73 1 4